﻿using System.Windows.Input;

namespace Socium.Testings.Sociometric {
	/// <summary>
	/// Interaction logic for ElectionCellView.xaml
	/// </summary>
	public partial class ElectionCellView {
		public ElectionCellView() {
			InitializeComponent();
		}

		private void UserControlMouseDown(object sender, MouseButtonEventArgs e) {
			var view_model = DataContext as ElectionCellViewModel;
			if (view_model == null) {
				return;
			}

			view_model.Click();
		}
	}
}
